home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / text / misc / nroffamiga.lha / README < prev    next >
Text File  |  1992-05-26  |  2KB  |  40 lines

  1. nroff (TOS) v0.90 ALPHA 11/12/89 wjr
  2. ------------------------------------
  3.  
  4. This is a preliminary release of a version of nroff for atariST. It was
  5. written under TOS, USG, and 4BSD but should port easily to Minix ST as
  6. well. I doubt it will be easy to port to Minix PC unless the static arrays
  7. are changed to be malloc'd.
  8.  
  9. Much of this works. The things that don't are all the hard things (natch):
  10. diversions, traps, conditionals, etc. Font switching, underlining,
  11. etc. are limited to reverse video on the screen, though stdout will
  12. contain underlines as "_^H" for printers.
  13.  
  14. There is a crude man package included (tmac.an) which is not right
  15. but needs diversions to become right. It should handle most man tasks,
  16. though, except .IP and similar commands.
  17.  
  18. For porting info, look in nroff.h and the makefile. I have to fix
  19. my ctime(3) so as implemented, it is slightly incorrect. The standard
  20. dri/alcyon libraries are limited so I have my own extensions. Only
  21. ctime(3) and getenv(3) are used, as I recall. If you use dLibs or MWC
  22. you should be in good shape (SOMEDAY I'll switch to dLibs). Minix should
  23. also have no problems. As it stands, I have a >300k stack set up (plenty
  24. of memory on a Mega4 *8^) and this should be fine for a 1040ST. If it
  25. is not, and you don't/can't recompile, consider dumping some of your DA's.
  26. You could also binary edit the executable, looking for a long in the bss
  27. segment which defines the stack size for the startup (I use a hacked up
  28. gemstart.s). Look for 0x00055555L long near the end (NB: 0x55 is "U").
  29. I think is is at offset $a9e0 in the file.
  30.  
  31. If you do hack away, I would appreciate you sending me the changes
  32. so I can keep this centralized. Eventually, this may be good enough
  33. for FSF (GNUroff?).
  34.  
  35. -Bill Rosenkranz
  36. net:    rosenkra@hall.cray.com, rosenkra@boston.cray.com
  37. CIS:    71460,17
  38. GENIE:    W.ROSENKRANZ
  39.  
  40.